package soexample.umeng.com.video.guide;

import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;

import soexample.umeng.com.video.R;

/**
 * 页面
 *
 * @author lenovo
 * @date 2018-03-13
 * @note -
 * ---------------------------------------------------------------------------------------------------------------------
 * @modified -
 * @date -
 * @note -
 */


public class SimpleConponent implements Component {
    @Override
    public View getView(LayoutInflater inflater) {
        LinearLayout layout= (LinearLayout) inflater.inflate(R.layout.masking_layout,null);
        return layout;
    }

    @Override
    public int getAnchor() {
        return Component.ANCHOR_OVER;
    }

    @Override
    public int getFitPosition() {
        return Component.FIT_CENTER;
    }

    @Override
    public int getXOffset() {
        return 0;
    }

    @Override
    public int getYOffset() {
        return 0;
    }
}
